.clock {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px;
}

.clock-bg {
    position: relative;
    border: 5px solid #666666;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #fff;
}

.clock-bg > div {
    position: absolute;
    left: 50%;
    top: 2%;
    height: 96%;
    width: 4px;
    background-color: #a1a1a1;
    margin-left: -2.2px;
}


.clock-bg >div:nth-child(2) {
    transform: rotate(30deg);
}
.clock-bg >div:nth-child(3) {
    transform: rotate(60deg);
}
.clock-bg >div:nth-child(4) {
    transform: rotate(90deg);
}
.clock-bg >div:nth-child(5) {
    transform: rotate(120deg);
}
.clock-bg >div:nth-child(6) {
    transform: rotate(150deg);
}


.clock-bg:after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: #fff;
    border-radius: 50%;
    
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.clock-dot {
    position: absolute;
    left: 50%;
    top: 62%;
    margin-top: 5px;
    width: 15px;
    height: 15px;
    background-color: #666666;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.clock-point {
    position: absolute;
    left: 49.7%;
    bottom: 36%;
    /* height: 50%; */
    width: 4px;
    margin-left: -2px;
    background-color: #666666;
    transform-origin: 50% bottom;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* 红点 */
.clock-red-dot {
    z-index: 2;
    position: absolute;
    left: 49%;
    top: 62.7%;
    width: 6px;
    height: 6px;
    background-color: #f00;
    background-color: #fff;
    border-radius: 50%;
}

.clock-point.clock-point--hour {
    height: 25%;
    width: 2%;
}

.clock-point.clock-point--minute {
    height: 35%;
    width: 2%;

}

.clock-point.clock-point--second {
    /* 提升秒针的层级 */
    /* z-index: 1; */
    height: 44%;
    width: .6%;
    margin-left: -.3px;
    background-color: #f00;


}

.clock-show-time {
    width: 100%;
    font-family: '苹方';
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
}